Preview of RabbitVCS running on Thunar
Getting RabbitVCS to run on Thunar required me to create python bindings for the Thunar Extension Framework, but that is done now and the thunarx-python bindings are a reality. I’m in the process of getting the source code hosted on Xfce’s git repository.
With RabbitVCS running on Thunar, we’re a small step closer to one of our big goals, which is to become file manager agnostic.
You can read my post on our mailing list about my trials and tribulations getting this all to work, but RabbitVCS on Thunar is a mixed bag. On the one hand, I was able to get sub-menus working without having to patch Thunar, but on the other hand, there will be no emblem support for the foreseeable future. However, one thing that Thunar has that Nautilus does not is a get_dnd_actions call, which asks plugins for menu items for when the user drags and drops an item into a folder. I haven’t implemented it yet, but in the near future this will allow you to move files around in your SVN repository via drag ‘n drop in Thunar. Also not implemented yet is a property page that reports file status and ownership, etc. All of that will be ready for the v0.13 release.
For now, I leave you with a short video of RabbitVCS running Thunar.
Get thunarx-python here: http://github.com/adamplumb/thunarx-python. I’ve made a release, and you can get that in the Downloads section in github. Currently, the only way to install the Thunar extension for RabbitVCS is to check out the latest code from SVN and run the development install. Instructions for installing a thunarx-python plugin is available in the thunarx-python README file. If you’re willing to brave the install, I’d love to hear your feedback!
I’m sorry you’re not getting more comments on your blog cause this is really cool stuff!
Hi,
A bit on the late side, but I also support this initiative!
BTW, I’ve been trying to install and make it running following http://wiki.rabbitvcs.org/wiki/install/debian instructions but so far I can’t get the right click menu adds for Thunar browser…
Maybe the pkg version is a bit outdated, I still need to dig more…
cheers!
Jules
Me again,
It seems a fairly trivial issue (import path). I’m not 100% sure but it seems to work (not tested extensively though) if you do something like:
cp /usr/lib/thunarx-1/python/RabbitVCS.py{,.bak}
sed -i s@rabbitvcs.util@rabbitvcs.lib@ /usr/lib/thunarx-1/python/RabbitVCS.py
sed -i s@rabbitvcs.vcs@rabbitvcs.lib.vcs@ /usr/lib/thunarx-1/python/RabbitVCS.py
Jules
hi Jules, the correct place for this comment is our mailing list, but I’ll answer you anyway.
If you’re installing from the Debian packages, they are quite out of date by now. I would suggest installing directly from the tarball, which should fix the immediate problem you’re having. If you have any further questions or issues, please use our mailing list or issue tracker.
Thanks,
Adam
Hi Adam,
Thanks for your fast reply. In fact I found a quick (‘n dirty) fix, I just forgot to hit the post button to reply to myself. Fix is among the line of:
# Patch (uggly way) rabbitvcs-thunar
cp /usr/lib/thunarx-1/python/RabbitVCS.py{,.bak}
sed -i s@rabbitvcs.vcs@rabbitvcs.lib.vcs@ /usr/lib/thunarx-1/python/RabbitVCS.py
sed -i s@rabbitvcs.util@rabbitvcs.lib@ /usr/lib/thunarx-1/python/RabbitVCS.py
The point is that I don’t really had (have) the time to get/recompile the sources and it’s not really an option for me there (specially given what I’m doing with it).
Maybe a good thing would be to update the debian package out there on launchpad, I see the former guy who did it is Jason Heeris, dunno if you’re in touch with him.
best,
I had the same problem and tried to run thunar like told at the thunarx-python xfce goodies page
root#:THUNARX_PYTHON_DEBUG=all /usr/bin/thunar
thunar_extension_initialize: entered
thunarx_python_load_dir: entered dirname=/usr/share/thunarx-python/extensions
thunarx_python_load_dir: entered dirname=/home/myuser/.local/share/thunarx-python/extensions
thunarx_python_load_dir: entered dirname=/usr/lib/x86_64-linux-gnu/thunarx-2/python
thunar_extension_list_types: entered
Copying RabbitVCS.py into one of these folders fixed the problem
I use debian sid and none of these folders existed. I had only /lib/x86_64-linux-gnu and /usr/lib/thunarx-2/python existing
Best
I truly love your site.. Pleasant colors & theme. Did you create this website yourself?
Please reply back as I’m attempting to create my own personal site and would love to find out where you got this from or exactly what the theme is called. Appreciate it!